package com.nut.sp.controller;

import com.nut.sp.service.UserService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class SampleController {

    @Autowired
    private UserService userService;

    @RequestMapping("/roll")
    @ResponseBody
    public String roll() {
        userService.testRoll();
        return "s";
    }
}
